import numpy as np

if __name__ == "__main__":
    baseline = np.loadtxt('result/siftsmall_10_baseline_40_100/part-recall.txt')
    gradient = np.loadtxt('result/siftsmall_10_gradient_40_100/part-recall.txt')
    for i in range(len(baseline)):
        for j in range(len(baseline[0])):
            if baseline[i][j] != gradient[i][j]:
                print("i %d, j %d" % (i, j))
